package com.blue.http.annotation;

import java.lang.reflect.Method;

import com.blue.core.dict.Charset;

public class HttpUrlMethod
{
	private Charset charset;
	private Method method;

	public HttpUrlMethod()
	{
	}

	public HttpUrlMethod(Charset charset, Method method)
	{
		this.charset = charset;
		this.method = method;
	}

	public Charset getCharset()
	{
		return charset;
	}

	public void setCharset(Charset charset)
	{
		this.charset = charset;
	}

	public Method getMethod()
	{
		return method;
	}

	public void setMethod(Method method)
	{
		this.method = method;
	}

	@Override
	public String toString()
	{
		return String.format("[charset=%s, method=%s]", charset, method);
	}

	
	
}
